//
//  SDDetectionReportCell.m
//  skinDetection
//
//  Created by  liangzhun on 2018/11/5.
//  Copyright © 2018年  liangzhun. All rights reserved.
//

#import "SDDetectionReportCell.h"

@implementation SDDetectionReportCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    NSString *image = SDAppDelegate.userModel.sex == 0? @"男 拷贝":@"女 拷贝";
    self.peopleImage.image = [UIImage imageNamed:image];
    
    if (SDAppDelegate.userModel.sex == 0) {
        self.type.constant = self.type.constant - 8;
    }
    
    [self.potViewArray enumerateObjectsUsingBlock:^(id  _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
        UIView *pot = obj;
         pot.layer.cornerRadius = 2.5f;
         pot.layer.masksToBounds = YES;
        
    }];
    
    
    if (SDMainScreenWidth == 320) {
        self.widthFC.constant = 37;
        self.widthSS.constant = 50;
        self.widthMGD.constant = 50;
    }
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
